package com.green.model.manage;

import com.green.model.ExtraEntity;
import com.green.model.manage.enums.OrgEnum;
import com.green.model.manage.enums.StateEnum;

/**
 * 组织
 * @author 
 */
public class Org extends ExtraEntity<String> {
	
	private static final long serialVersionUID = 6559158854607115665L;
	private String name; //名称
	private String number; //编码
	private String longNumber; //长编码
	private String displayName; //全称
	private Org parent; //上级组织
	private StateEnum state; //启用状态
	private String remark; //备注
	private OrgEnum orgType; //org类型
	private String bizType; //BizTypeEnum串  不存数据库用于同步判断组织类型
	private Org controUnit; //控制单元
	
	
	public String getBizType() {
		return bizType;
	}
	public void setBizType(String bizType) {
		this.bizType = bizType;
	}
	public Org getControUnit() {
		return controUnit;
	}
	public void setControUnit(Org controUnit) {
		this.controUnit = controUnit;
	}
	private int level; //级别 用于同步ERP数据时传递值
	
	
	public OrgEnum getOrgType() {
		return orgType;
	}
	public void setOrgType(OrgEnum orgType) {
		this.orgType = orgType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getLongNumber() {
		return longNumber;
	}
	public void setLongNumber(String longNumber) {
		this.longNumber = longNumber;
	}
	public String getDisplayName() {
		return displayName;
	}
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	public Org getParent() {
		return parent;
	}
	public void setParent(Org parent) {
		this.parent = parent;
	}
	public StateEnum getState() {
		return state;
	}
	public void setState(StateEnum state) {
		this.state = state;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}

}
